//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package study;

import java.util.Arrays;

public class Lambda_demo {
    public Lambda_demo() {
    }

    public static void main(String[] args) {
        Integer[] arr = new Integer[]{4, 7, 3, 6, 9, 8, 24};
        Arrays.sort(arr, (o1, o2) -> o2 - o1);
        System.out.println(Arrays.toString(arr));
        Integer[] arr2 = new Integer[]{4, 7, 3, 6, 9, 8, 24};
        Arrays.sort(arr2, (o1, o2) -> o2 - o1);
        Integer[] arr3 = new Integer[]{4, 7, 3, 6, 9, 8, 24};
        Arrays.sort(arr3, (o1, o2) -> o2 - o1);
    }
}
